﻿using Simple.EntityFramewokCore.Core.Base;
using Video.Domain.Users;


namespace Video.Domain.Videos;

/// <summary>
/// 视频点赞表
/// </summary>
public class Likes : Entity
{
    /// <summary>
    /// 视频ID
    /// </summary>
    public Guid VideoId { get; set; }
    /// <summary>
    /// 用户ID
    /// </summary>
    public Guid UserId { get; set; }
    /// <summary>
    /// 点赞分类
    /// </summary>
    public LikeType Type { get; set; }

    public virtual UserInfo? User { get; set; }

    public virtual Video? Video { get; set; }
}
